class Apple {

    constructor(address) {
        this.address = address;
    }

    static color() {
        return "red";
    }


}


let apple =new Apple("山东");

console.log(Apple.color());  // red

console.log(apple.address);  // 山东




